gdkscreen-wayland: Don't leak wl_output objects
authorRui Matos <tiagomatos@gmail.com>
Tue, 27 Jan 2015 17:50:33 +0000 (18:50 +0100)
committerRui Matos <tiagomatos@gmail.com>
Wed, 28 Jan 2015 16:17:09 +0000 (17:17 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=743633

gdk/wayland/gdkscreen-wayland.c

index 096b2fe6362d4a63671280b6a36facc048e99b94..980aa6b6b8df8cfe6bc04b191eab61727fdb0f5f 100644 (file)
@@ -110,6 +110,7 @@ free_monitor (gpointer data)
   if (monitor == NULL)
     return;
 
+  wl_output_destroy (monitor->output);
   g_free (monitor->output_name);
   g_free (monitor->manufacturer);